import {request} from './request'
//登录接口
// const login = (data: object | any)=>request('/jazp-auth/oauth2/token', 'POST', data)
const login = (data: object | any)=>request('/zgyp-auth/oauth2/token', 'POST', data)
// 获取验证码
const sendSMS = (data: object | any)=>request('/jazp-auth/sms-code/verify', 'POST', data)
 // 首页获取商品列表
const getList =(data: object | any)=>request('/zgyp-recycle/api/v1/recycleCustomer/page', 'POST', data)
const getExhibitionList =(data: object | any)=>request('/zgyp-recycle/api/v1/recycleClue/page', 'POST', data)
const fetchFieldCfgList =(data: object | any)=>request('/zgyp-system/api/v1/field/list', 'POST', data)
export{
    login,
    sendSMS,
    getList,
	fetchFieldCfgList,
    getExhibitionList
}
